package Eyjafjalla.relic;

import Eyjafjalla.action.ChooseOneDolly;
import Eyjafjalla.helper.StringHelper;
import Eyjafjalla.patch.MelodyPatch;
import basemod.abstracts.CustomRelic;
import com.megacrit.cardcrawl.actions.common.RelicAboveCreatureAction;
import com.megacrit.cardcrawl.cards.AbstractCard;
import com.megacrit.cardcrawl.dungeons.AbstractDungeon;
import com.megacrit.cardcrawl.helpers.ImageMaster;
import com.megacrit.cardcrawl.relics.AbstractRelic;

public class StrangeFlute extends CustomRelic {

    public static final String ID = "eyjafjalla:StrangeFlute";

    public StrangeFlute(){
        super(ID, ImageMaster.loadImage(StringHelper.getRelicIMGPATH(ID,false)),ImageMaster.loadImage(StringHelper.getRelicIMGPATH(ID,true)),RelicTier.UNCOMMON,LandingSound.CLINK);
    }

    @Override
    public float atDamageModify(float damage, AbstractCard c) {
        if(MelodyPatch.currentSingle!=null){
            return damage+2;
        }
        return damage;
    }

    @Override
    public String getUpdatedDescription() {
        return DESCRIPTIONS[0];
    }

    @Override
    public AbstractRelic makeCopy() {
        return new StrangeFlute();
    }
}




